<?php
include_once('../bootstrap.php');
$marker = Doctrine::getTable('marker')->find($_POST['id']);
$result = array ();
$result['latitud'] = $marker->latitud;
$result['longitud'] = $marker->longitud;
$result['categoria'] = $marker->categorias[0]->id;
header("Content-type: application/json");
echo(json_encode($result));
?>
